package cn.edu.nuc.crm.service.interfaces;

import java.util.List;

import cn.edu.nuc.crm.dto.PageInfo;
import cn.edu.nuc.crm.entity.Application;

public interface ApplicationService {

	PageInfo pi(int current);

	List<Application> selectByName(String aptTrueName);

	Application selectByPrimaryKey(Integer aptId);

	int deleteByPrimaryKey(Integer aptId);

	int insert(Application apt);

	PageInfo piStatus(int current,int status);

	int update(Application application);

	List<Application> findAll();

	PageInfo selectByCountId(int current,Integer accountid);

	int updateByPrimaryKeySelective(Application application);

}
